package cn.dao;

import cn.entity.Page;
import cn.entity.User;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository("userDao")
public interface UserDao {
    public List<User> getUserList(Page page);
    public int getUserNum(User user);
    public boolean addUser(User user);

    public User getUserbyId(User user);

    public boolean deleterUser(User user);
}
